home *** CD-ROM | disk | FTP | other *** search
/ PC-SIG: World of Games / PC-SIG World of Games (CDRM1080710) (1993).iso / ENT / DISK1417.ZIP / CONTENTS next >
Text File  |  1988-09-01  |  3KB  |  71 lines

  1. I created these items to make my HACK playing more enjoyable.  I hope
  2. they do the same for you.
  3.  
  4. FILE #1 : HACK.NG
  5.     This is a Norton Guides database file.  Norton Guides is a clever
  6.     program that allows you to create on-line help files.  At any
  7.     time, you can press the proper key (on my computer, there is a
  8.     key in the lower left that says MACRO that I use) and the Norton
  9.     Guides program will pop up and allow you to select the help you
  10.     need.  It's quite handy, although Norton Guides is not a terribly
  11.     cheap program.
  12.  
  13.     I got all my information from the files that come on the HACK
  14.     disk.  Some of that information (and therefore, my information)
  15.     appears to be for some related, but slightly different program.
  16.     There doesn't seem to be any deliberately misleading data, and
  17.     I would estimate that it is 80% correct.
  18.  
  19.     If there are any serious HACK devotees out there who use this
  20.     database, I would be more than willing to update it with any
  21.     information you may send me.
  22.  
  23.     I have also included (in the GUIDE subdirectory) the source code
  24.     for this database.  Unless you intend to alter the database, the
  25.     files in this subdirectory are completely useless.
  26.  
  27. FILE #2 : HACKKEYS.COM
  28.     It always drove me crazy to try to memorize the weird characters
  29.     you use to move yourself around.  This little COM file allows
  30.     you to use the arrow keys instead of those weird characters
  31.     (hjkl etc.).  To use it, you run it (just type HACKKEYS) before
  32.     you call HACK.  Then, when you are done with HACK, type HACKKEYS
  33.     again to cancel the key mapping.  The way HACKKEYS works is that
  34.     it inserts itself between the keyboard and the HACK program (or
  35.     whatever else you run after starting HACKKEYS) and watches for
  36.     arrow keys.  When it sees one, it quickly changes it so that
  37.     HACK sees an h, j, k, or whatever.  Because this involves no changes
  38.     to HACK itself, there's no problem with having the wrong version
  39.     of HACK or somehow screwing up HACK.  It's perfectly safe.
  40.  
  41.     As you can tell by the first file, I have Norton Guides enabled
  42.     when I am running HACK.  I didn't want to screw up Norton Guides
  43.     with my mapping the arrow keys so I added a little bit of code
  44.     that disables the mapping when the program that is waiting on
  45.     the keyboard was loaded before HACKKEYS.  Since I load Norton
  46.     Guides before HACKKEYS and then HACK, this means that the arrow
  47.     keys get mapped to h, j, k, etc. while in HACK but when I
  48.     invoke Norton Guides, the arrow keys perform their normal functions.
  49.     Because DOS gets keys in a different way than most programs, 
  50.     HACKKEYS doesn't affect it at all.  If you want to see how HACKKEYS 
  51.     works, start it up (type HACKKEYS) and then enter your favorite 
  52.     editor.  Press some arrow keys and see what happens.  After exiting 
  53.     the editor, don't forget to type HACKKEYS again to turn it off.
  54.  
  55.     In the subdirectory HACKKEYS you will find the source code for
  56.     HACKKEYS.  If you are not into assembly language programming,
  57.     just ignore it.  However, I put a lot of comments into it and
  58.     you may want to look at it just to see what I did (it's not 
  59.     terribly exciting).  Also, I made it a very generic function and
  60.     it could easily be altered to do different key mappings for some
  61.     other purpose.
  62.  
  63. Comments, suggestions, complaints, etc.
  64.  
  65.     Chris Shearer Cooper
  66.     46 Cochituate Road #302
  67.     Framingham, MA  01701
  68.  
  69. Enjoy!
  70.  
  71.